//
//  LoginViewController.m
//  11-UI
//
//  Created by Snow on 16/7/28.
//  Copyright © 2016年 Snow. All rights reserved.
//

#import "LoginViewController.h"
#import "ViewController.h"
#import "SignViewController.h"
@interface LoginViewController ()
@property (weak, nonatomic) IBOutlet UIButton *loginButton;
@property (weak, nonatomic) IBOutlet UIButton *buttonOfMiss;
@property (weak, nonatomic) IBOutlet UIButton *buttonOfSign;

@end

@implementation LoginViewController

- (void)viewDidLoad {
    [super viewDidLoad];
    [self.loginButton addTarget:self action:@selector(handlebutton:) forControlEvents:UIControlEventTouchUpInside];
    [self.buttonOfSign addTarget:self action:@selector(handleSign:) forControlEvents:UIControlEventTouchUpInside];
}
- (void)handlebutton:(UIButton *)button
{
    ViewController *vc = [[ViewController alloc] init];
    [self presentViewController:vc animated:YES completion:nil];
}
- (void)handleSign:(UIButton *)button
{
    SignViewController *sign = [[SignViewController alloc] init];
    [self presentViewController:sign animated:YES completion:nil];
    
}
- (void)didReceiveMemoryWarning {
    [super didReceiveMemoryWarning];
    // Dispose of any resources that can be recreated.
}

/*
#pragma mark - Navigation

// In a storyboard-based application, you will often want to do a little preparation before navigation
- (void)prepareForSegue:(UIStoryboardSegue *)segue sender:(id)sender {
    // Get the new view controller using [segue destinationViewController].
    // Pass the selected object to the new view controller.
}
*/

@end
